export const originalDevices = [
  {
    'id': '1000000$1$0$0',
    'name': '园区1幢 1单元数字门口机(白光)_01_1',
    'deviceId': 1,
    'deviceIp': '10.35.120.185',
    'deviceName': '大华门禁',
    'orgCode': '后勤部门',
    'category': '门禁设备',
    'type': 'DH-ASC1201A',
    'unitType': '一体化设备',
    'groupIds': [43],
    'status': 0,
    'activities': [{
      'content': '创建',
      'timestamp': '2018-04-12 20:46',
      'type': 'primary',
      'icon': 'el-icon-more'
    }, {
      'content': '运行',
      'timestamp': '2018-04-03 20:46'
    }, {
      'content': '维护',
      'timestamp': '2018-04-03 20:46'
    }, {
      'content': '检修',
      'timestamp': '2018-04-03 20:46'
    }, {
      'content': '淘汰',
      'timestamp': '2018-04-03 20:46'
    }]
  },
  {
    'id': '1000000$2$0$0',
    'name': '潇湘街路灯_01 ',
    'deviceId': 2,
    'deviceIp': '',
    'deviceName': '大华路灯',
    'orgCode': '后勤部门',
    'category': '照明设备',
    'type': 'ZH-ASC1201A',
    'unitType': 'LED路灯',
    'groupIds': [41],
    'status': 1,
    'activities': [{
      'content': '创建',
      'timestamp': '2018-04-12 20:46',
      'type': 'primary',
      'icon': 'el-icon-more'
    }, {
      'content': '运行',
      'timestamp': '2018-04-03 20:46',
      'type': 'primary'
    }, {
      'content': '维护',
      'timestamp': '2018-04-03 20:46'
    }, {
      'content': '检修',
      'timestamp': '2018-04-03 20:46'
    }, {
      'content': '淘汰',
      'timestamp': '2018-04-03 20:46'
    }]
  },
  {
    'id': '1000000$3$0$0',
    'name': '一栋一单元#1电梯',
    'deviceId': 3,
    'deviceIp': '',
    'deviceName': '大华电梯',
    'orgCode': '后勤部门',
    'category': '电梯设备',
    'type': 'DT-ASC1201A',
    'unitType': '电梯',
    'groupIds': [42],
    'status': 2,
    'activities': [{
      'content': '创建',
      'timestamp': '2018-04-12 20:46',
      'type': 'primary',
      'icon': 'el-icon-more'
    }, {
      'content': '运行',
      'timestamp': '2018-04-03 20:46',
      'type': 'primary'
    }, {
      'content': '维护',
      'timestamp': '2018-04-03 20:46',
      'type': 'primary'
    }, {
      'content': '检修',
      'timestamp': '2018-04-03 20:46'
    }, {
      'content': '淘汰',
      'timestamp': '2018-04-03 20:46'
    }]
  },
  {
    'id': '1000000$1$0$0',
    'name': '园区1幢 1单元数字门口机(白光)_01_2',
    'deviceId': 4,
    'deviceIp': '10.35.120.185',
    'deviceName': '大华门禁',
    'orgCode': '后勤部门',
    'category': '门禁设备',
    'type': 'DH-ASC1201A',
    'unitType': '一体化设备',
    'groupIds': [43],
    'status': 3,
    'activities': [{
      'content': '创建',
      'timestamp': '2018-04-12 20:46',
      'type': 'primary',
      'icon': 'el-icon-more'
    }, {
      'content': '运行',
      'timestamp': '2018-04-03 20:46',
      'type': 'primary'
    }, {
      'content': '维护',
      'timestamp': '2018-04-03 20:46',
      'type': 'primary'
    }, {
      'content': '检修',
      'timestamp': '2018-04-03 20:46',
      'type': 'primary'
    }, {
      'content': '淘汰',
      'timestamp': '2018-04-03 20:46'
    }]
  },
  {
    'id': '1000000$2$0$0',
    'name': '潇湘街路灯_02 ',
    'deviceId': 5,
    'deviceIp': '',
    'deviceName': '大华路灯',
    'orgCode': '后勤部门',
    'category': '照明设备',
    'type': 'ZH-ASC1201A',
    'unitType': 'LED路灯',
    'groupIds': [41],
    'status': 4,
    'activities': [{
      'content': '创建',
      'timestamp': '2018-04-12 20:46',
      'type': 'primary',
      'icon': 'el-icon-more'
    }, {
      'content': '运行',
      'timestamp': '2018-04-03 20:46',
      'type': 'primary'
    }, {
      'content': '维护',
      'timestamp': '2018-04-03 20:46',
      'type': 'primary'
    }, {
      'content': '检修',
      'timestamp': '2018-04-03 20:46',
      'type': 'primary'
    }, {
      'content': '淘汰',
      'timestamp': '2018-04-03 20:46',
      'type': 'primary'
    }]
  },
  {
    'id': '1000000$3$0$0',
    'name': '一栋一单元#2电梯',
    'deviceId': 6,
    'deviceIp': '',
    'deviceName': '大华电梯',
    'orgCode': '后勤部门',
    'category': '电梯设备',
    'type': 'DT-ASC1201A',
    'unitType': '电梯',
    'groupIds': [42],
    'status': 1,
    'activities': [{
      'content': '创建',
      'timestamp': '2018-04-12 20:46',
      'type': 'primary',
      'icon': 'el-icon-more'
    }, {
      'content': '运行',
      'timestamp': '2018-04-03 20:46',
      'type': 'primary'
    }, {
      'content': '维护',
      'timestamp': '2018-04-03 20:46'
    }, {
      'content': '检修',
      'timestamp': '2018-04-03 20:46'
    }, {
      'content': '淘汰',
      'timestamp': '2018-04-03 20:46'
    }]
  }
]

// type: 0,固定费用（按户）; 1,房屋面积; 2,人头; 3, 体积（水，天然气）; 4, 度数（电）
// frequency:  0, 一次性收费, 1,每年一次， 2，每月一次,
// limit: 单位：天
// status: 0 收费中 1 未收费 2 已完成（定时收费已完成本年度、季度的收费）
export const originalCosts = [
  {
    id: 1,
    name: '物业费',
    type: 0,
    unitPrice: 5000,
    frequency: 1,
    limit: 10,
    status: 0,
    time: new Date(),
    enable: true
    // defaultFamily 默认应缴的户
    // costItemId 该项收费最近收费记录的id，用于跳转到详情页面。
  },
  {
    id: 2,
    name: '取暖费',
    type: 0,
    unitPrice: 2000,
    frequency: 1,
    limit: 10,
    status: 1,
    time: new Date(),
    enable: false
  },
  {
    id: 3,
    name: '车位租赁费',
    type: 0,
    unitPrice: 1000,
    frequency: 1,
    limit: 10,
    status: 2,
    time: new Date(),
    enable: false
  },
  {
    id: 4,
    name: '活动费',
    type: 0,
    unitPrice: 5000,
    frequency: 0,
    limit: 5,
    status: 0
  }
]

export const originalCostsHistory = [
  {
    id: 1,
    cost: {
      id: 1,
      name: '物业费',
      type: 0,
      unitPrice: 5000,
      frequency: 1,
      limit: 10,
      status: 0,
      time: new Date(2020, 0, 1),
      enable: true
    },
    status: 0,
    // 搜索页面所需要的的数据
    startTime: new Date(2021, 4, 15, 8, 0, 0),
    endTime: new Date(2021, 4, 25, 8, 0, 0),
    allFamily: 500,
    finishedFamily: 400
  },
  {
    id: 2,
    cost: {
      id: 2,
      name: '取暖费',
      type: 0,
      unitPrice: 2000,
      frequency: 1,
      limit: 10,
      status: 2,
      time: new Date(),
      enable: false
    },
    status: 2,
    // 搜索页面所需要的的数据
    startTime: new Date(2020, 0, 1, 8, 0, 0),
    endTime: new Date(2020, 0, 11, 8, 0, 0),
    allFamily: 500,
    finishedFamily: 490
  },
  {
    id: 3,
    cost: {
      id: 3,
      name: '车位租赁费',
      type: 0,
      unitPrice: 1000,
      frequency: 1,
      limit: 10,
      status: 2,
      time: new Date(),
      enable: false
    },
    status: 2,
    // 搜索页面所需要的的数据
    startTime: new Date(2020, 0, 1, 8, 0, 0),
    endTime: new Date(2020, 0, 11, 8, 0, 0),
    allFamily: 500,
    finishedFamily: 400
  },
  {
    id: 4,
    cost: {
      id: 4,
      name: '活动费',
      type: 0,
      unitPrice: 5000,
      frequency: 0,
      limit: 5,
      status: 0
    },
    status: 0,
    // 搜索页面所需要的的数据
    startTime: new Date(2021, 4, 20, 8, 0, 0),
    endTime: new Date(2021, 4, 30, 8, 0, 0),
    allFamily: 500,
    finishedFamily: 100
  }
]

export const originalFamilies = [
  {
    id: 1,
    name: '一栋一单元101',
    houseHolder: '天雪',
    member: 4,
    payable: 5000,
    finished: true
  },
  {
    id: 2,
    name: '一栋一单元102',
    houseHolder: '童博',
    member: 2,
    payable: 5000,
    finished: false
  },
  {
    id: 3,
    name: '一栋一单元103',
    houseHolder: '马克',
    member: 4,
    payable: 5000,
    finished: true
  },
  {
    id: 4,
    name: '一栋一单元104',
    houseHolder: '白月魁',
    member: 2,
    payable: 5000,
    finished: false
  }

]

export const baseGroup = [
  {
    id: 0,
    name: '家庭住址分组',
    children: [
      {
        id: 1,
        name: '一栋',
        children: [
          {
            id: 3,
            name: '一单元',
            children: [
              {
                id: 4,
                name: '101'
              },
              {
                id: 5,
                name: '102'
              },
              {
                id: 6,
                name: '103'
              },
              {
                id: 7,
                name: '104'
              }
            ]
          },
          {
            id: 8,
            name: '二单元',
            children: [
              {
                id: 9,
                name: '101'
              },
              {
                id: 10,
                name: '102'
              },
              {
                id: 11,
                name: '103'
              },
              {
                id: 12,
                name: '104'
              }
            ]
          },
          {
            id: 13,
            name: '三单元',
            children: [
              {
                id: 14,
                name: '101'
              },
              {
                id: 15,
                name: '102'
              },
              {
                id: 16,
                name: '103'
              },
              {
                id: 17,
                name: '104'
              }
            ]
          }
        ]
      },
      {
        id: 2,
        name: '二栋',
        children: [
          {
            id: 18,
            name: '一单元',
            children: [
              {
                id: 19,
                name: '101'
              },
              {
                id: 20,
                name: '102'
              },
              {
                id: 21,
                name: '103'
              },
              {
                id: 22,
                name: '104'
              }
            ]
          },
          {
            id: 23,
            name: '二单元',
            children: [
              {
                id: 24,
                name: '101'
              },
              {
                id: 25,
                name: '102'
              },
              {
                id: 26,
                name: '103'
              },
              {
                id: 27,
                name: '104'
              }
            ]
          },
          {
            id: 28,
            name: '三单元',
            children: [
              {
                id: 29,
                name: '101'
              },
              {
                id: 30,
                name: '102'
              },
              {
                id: 31,
                name: '103'
              },
              {
                id: 32,
                name: '104'
              }
            ]
          }
        ]
      }
    ]
  }
]

